Information processing apparatus, information processing method, and recording medium

ABSTRACT

An information processing apparatus includes a memory and processing circuitry. The memory stores log data generated by an execution of a process. The processing circuity stops the execution of the process in a state where the process is being executed and when an amount of the log data in the memory is larger than a first threshold, and restarts the execution of the process in a state where the execution of the process is stopped and when the amount of the log data in the memory is smaller than a second threshold that is smaller than the first threshold.

CROSS-REFERENCE TO RELATED APPLICATION

This patent application is based on and claims priority pursuant to 35U.S.C. § 119(a) to Japanese Patent Application No. 2020-202505, filed onDec. 7, 2020, in the Japan Patent Office, the entire disclosure of whichis hereby incorporated by reference herein.

BACKGROUND Technical Field

Embodiments of the present disclosure relate to an informationprocessing apparatus, an information processing method, and anon-transitory recording medium storing an information processingprogram.

Discussion of the Background Art

A technique is known that generates log data indicating, for example, anexecution history of a job including image processing or the like andtransfers the log data to an external device. For example, an imageprocessing apparatus is known that transfers log data to a managementserver via a network at a predetermined timing.

SUMMARY

According to an embodiment of the present disclosure, an informationprocessing apparatus includes a memory and processing circuitry. Thememory stores log data generated by an execution of a process. Theprocessing circuity stops the execution of the process in a state wherethe process is being executed and when an amount of the log data in thememory is larger than a first threshold, and restarts the execution ofthe process in a state where the execution of the process is stopped andwhen the amount of the log data in the memory is smaller than a secondthreshold that is smaller than the first threshold.

According to another embodiment of the present disclosure, there isprovided an information processing method to be executed by aninformation processing apparatus configured to store log data generatedby an execution of a process. The method includes stopping andrestarting. The stopping stops the execution of the process in a statewhere the process is being executed and when an amount of the log datastored in the information processing apparatus is larger than a firstthreshold. The restarting restarts the execution of the process in astate where the execution of the process is stopped and when the amountof the log data stored in the information processing apparatus issmaller than a second threshold that is smaller than the firstthreshold.

According to still another embodiment of the present disclosure, thereis provided a non-transitory recording medium storing computer-readableprogram code that, when executed by a computer, causes the computerstoring log data generated by an execution of a process to execute:stopping the execution of the process in a state where the process isbeing executed and when an amount of the log data stored in the computeris larger than a first threshold; and restarting the execution of theprocess in a state where the execution of the process is stopped andwhen the amount of the log data stored in the computer is smaller than asecond threshold that is smaller than the first threshold.

BRIEF DESCRIPTION OF SEVERAL VIEWS OF THE DRAWINGS

A more complete appreciation of the disclosure and many of the attendantadvantages and features thereof can be readily obtained and understoodfrom the following detailed description with reference to theaccompanying drawings, wherein:

FIG. 1 is a diagram illustrating an example of a system configuration ofan image forming system;

FIG. 2 is a diagram illustrating an example of a hardware configurationof the image forming apparatus;

FIG. 3 is a diagram illustrating an example of functions of the imageforming apparatus;

FIG. 4 is a diagram illustrating an example of threshold information;

FIG. 5 is a diagram illustrating an example of a flow of a jobstop/restart process; and

FIG. 6 is a diagram illustrating an execution result of the jobstop/restart process.

The accompanying drawings are intended to depict embodiments of thepresent invention and should not be interpreted to limit the scopethereof. The accompanying drawings are not to be considered as drawn toscale unless explicitly noted.

DESCRIPTIONS OF EMBODIMENTS

The terminology used herein is for the purpose of describing particularembodiments only and is not intended to be limiting of the presentinvention. As used herein, the singular forms “a”, “an” and “the” areintended to include the plural forms as well, unless the context clearlyindicates otherwise.

In describing embodiments illustrated in the drawings, specificterminology is employed for the sake of clarity. However, the disclosureof this specification is not intended to be limited to the specificterminology so selected and it is to be understood that each specificelement includes all technical equivalents that have a similar function,operate in a similar manner, and achieve a similar result.

Hereinafter, an embodiment of an image forming system including aninformation processing apparatus according to the present disclosurewill be described with reference to the drawings.

FIG. 1 is a diagram illustrating an example of a system configuration ofthe image forming system.

The image forming system 1 includes an image forming apparatus 10 and alog management server 20. The image forming apparatus 10 and the logmanagement server 20 are communicably connected via a communicationnetwork 30.

The image forming apparatus 10 is an example of an informationprocessing apparatus according to the present disclosure, and is, forexample, a multifunction peripheral/product/printer (MFP) or the like.The image forming apparatus 10 executes various processes and stores logdata generated by execution of the processes. Specifically, the imageforming apparatus 10 executes various processes in units of jobsdefining a series of processes, and stores log (job log) data indicatingan execution history of the jobs. When executing a process related toimage formation, the image forming apparatus 10 stores log (image log)data indicating an image.

The image forming apparatus 10 transfers the stored log data to the logmanagement server 20 periodically or in response to an operation by anadministrator or the like, and deletes the successfully transferred logdata.

The log management server 20 receives and manages log data from theimage forming apparatus 10. For example, the log management server 20executes processes such as search, display, and deletion of log data inresponse to a request from a user. The log management server 20 mayreceive log data from a plurality of image forming apparatuses 10.

FIG. 2 is a diagram illustrating an example of a hardware configurationof the image forming apparatus.

The image forming apparatus 10 includes a controller 110, a short-rangecommunication circuit 120, an engine control unit 130, an operationpanel 140, and a network I/F 150.

Among them, the controller 110 includes a central processing unit (CPU)101 that is a main part of a computer, a system memory (MEM-P) 102, anorth bridge (NB) 103, a south bridge (SB) 104, an application specificintegrated circuit (ASIC) 106, a local memory (MEM-C) 107, a hard diskdrive (HDD) controller 108, and a hard disk (HD) 109.

The NB 103 and the ASIC 106 are connected by an accelerated graphicsport (AGP) bus 121.

Among them, the CPU 101 is a control unit that performs overall controlof the image forming apparatus 10. The NB 103 is a bridge for connectingthe CPU 101 to the MEM-P 102, the SB 104, and the AGP bus 121. The NB103 includes a memory controller that controls reading and writing fromand to the MEM-P 102, a peripheral component interconnect (PCI) master,and an AGP target.

The MEM-P 102 includes a ROM 102 a that is a memory storing programs anddata for realizing each function of the controller 110, and a RAM 102 bthat is used as a drawing memory or the like at the time of developingprograms and data and memory printing. The programs stored in the RAM102 b may be provided by being recorded as a file in an installableformat or an executable format in a computer-readable recording mediumsuch as a compact disc (CD)-ROM, a CD-R, or a digital versatile disc(DVD).

The SB 104 is a bridge for connecting the NB 103 to a PCI device and aperipheral device. The ASIC 106 is an integrated circuit (IC) for imageprocessing having a hardware element for image processing, and serves asa bridge that connects the AGP bus 121, the PCI bus 122, the HDDcontroller 108, and the MEM-C 107.

The ASIC 106 includes a PCI target, an AGP master, an arbiter (ARB) thatforms the core of the ASIC 106, a memory controller that controls theMEM-C 107, a plurality of direct memory access controllers (DMAC) thatrotates image data by hardware logic or the like, and a PCI unit thatperforms data transfer between the scanner unit 131 and the printer unit132 via the PCI bus 122. The ASIC 106 may be connected by an interfacesuch as a universal serial bus (USB) or Institute of Electrical andElectronics Engineers 1394 (IEEE 1394).

The MEM-C 107 is a local memory used as a copy image buffer and a codebuffer. The HD 109 is a storage for accumulating image data,accumulating font data used for printing, accumulating forms, and thelike. The HD 109 controls reading or writing of data from/to the HD 109under the control of the CPU 101.

The AGP bus 121 is a bus interface for a graphics accelerator card,which is proposed to accelerate graphics processing. The AGP bus 121 canspeed up a graphics accelerator card by directly accessing the MEM-P 102with high throughput.

Furthermore, the short-range communication circuit 120 includes ashort-range communication antenna 120 a. The short-range communicationcircuit 120 is a communication circuit in compliance with the near fieldcommunication (NFC), Bluetooth® and the like.

The engine control unit 130 includes the scanner unit 131 and theprinter unit 132. The operation panel 140 includes a panel display 140 asuch as a touch panel that displays a display screen or selection screenof current setting values and others and accepts an input from anoperator, and operation keys 140 b that include a numeric keypadaccepting setting values of conditions for image formation such as adensity setting condition and a start key accepting a copy startinstruction.

The controller 110 controls the entire image forming apparatus 10, andcontrols, for example, drawing, communication, input from the operationpanel 140, and others. The scanner unit 131 or the printer unit 132executes image processing such as error diffusion or gamma conversion.

The network I/F 150 is an interface for performing data communicationusing the communication network 30. The short-range communicationcircuit 120 and the network I/F 150 are electrically connected to theASIC 106 via the PCI bus 122.

Next, functions of the image forming apparatus 10 will be described withreference to the drawings.

FIG. 3 is a diagram illustrating an example of functions of the imageforming apparatus.

The image forming apparatus 10 includes a log generation monitoring unit11, a process stop unit 12, a process restart unit 13, a job executionunit 14, a warning display unit 15, and a storage unit 16.

The log generation monitoring unit 11 generates and monitors log data.Specifically, the log generation monitoring unit 11 generates log dataindicating a history of execution of processes by the job execution unit14. The log generation monitoring unit 11 stores the generated log datain the storage unit 16, and periodically measures the amount of thestored log data. For example, the log generation monitoring unit 11generates job log data and image log data, and measures the amount ofjob log data and the amount of image log data.

In addition, the log generation monitoring unit 11 compares the amountof log data with various preset thresholds, and executes a determinationprocess that affects the behavior of each functional unit describedlater.

The log generation monitoring unit 11 is implemented by the CPU 101executing a process defined in a program stored in the ROM 102 a, theRAM 102 b, or the like and controlling the HD 909 or the like.

The process stop unit 12 stops the execution of the process when theprocess is being executed and the amount of log data in the storage unit16 is larger than a predetermined threshold (first threshold Ta). Inaddition, if the log data in the storage unit 16 includes a plurality oftypes of log data, the process stop unit 12 stops the execution of theprocess when the process is being executed and the amount of any one ofthe plurality of types of log data in the storage unit 16 is larger thanthe first threshold Ta set for the corresponding type.

Specifically, the process stop unit 12 stops the execution of the jobwhen the amount of image log data is larger than the first threshold Ta1of the image log data or the amount of job log data is larger than afirst threshold Ta2 of the job log data.

The stoppage of the process (job) by the process stop unit 12 means thatthe job execution unit 14 does not newly execute a process (job) untilthe process restart unit 13 restarts next time. The process stop unit 12may not stop the process that is already being executed. For example,when the process stop unit 12 stops execution of a job, the jobexecution unit 14 does not execute a job that has been requestedthereafter and a job that is waiting to be started.

The process restart unit 13 restarts the execution of the process whenthe execution of the process is stopped and the amount of log data inthe storage unit 16 is smaller than a second threshold Tb which issmaller than the first threshold Ta. In addition, if the log data in thestorage unit 16 includes a plurality of types of log data, the processrestart unit 13 restarts the execution of the process when the executionof the process is stopped and the amounts of all the plurality of typesof log data in the storage unit 16 are smaller than the secondthresholds Tb set for the corresponding types.

Specifically, the process restart unit 13 restarts the execution of thejob when the amount of image log data is smaller than the secondthreshold Tb1 of the image log data and the amount of job log data issmaller than the second threshold Tb2 of the job log data.

The restart of execution of the process (job) by the process restartunit 13 means that the job execution unit 14 returns from a state inwhich not to execute the process (job) to a state in which to executethe process (job). For example, the job execution unit 14 is defined to,when the process restart unit 13 restarts the execution of the job,execute a job that has been requested thereafter and a job waiting forbeing started.

The process stop unit 12 and the process restart unit 13 are implementedby the CPU 101 executing a process defined in a program stored in theROM 102 a, the RAM 102 b, or the like.

The job execution unit 14 executes a job. Specifically, when the processstop unit 12 stops the execution of a job, the job execution unit 14does not execute a job until the process restart unit 13 restarts theexecution of a job, and executes a job in other cases. In order tosequentially execute requested jobs, the job execution unit 14 may storedata indicating the jobs waiting for being processed in a queue. In astate where the execution of a job is stopped, the job execution unit 14stores all the requested jobs in the queue, and after restarting theexecution of a job, the job execution unit 14 sequentially executes thejobs stored in the queue.

The job execution unit 14 is implemented by the CPU 101 executing aprocess defined in a program stored in the ROM 102 a, the RAM 102 b, orthe like and controlling the engine control unit 130 or the like.

The warning display unit 15 displays a warning when the amount of logdata stored in the storage unit 16 is larger than a third threshold Tc.Specifically, the warning display unit 15 displays a warning when theamount of any of the plurality of types of log data is larger than thethird threshold Tc set for the corresponding type. For example, thewarning display unit 15 displays a warning when the amount of image logdata is larger than a third threshold Tc1 of the image log data or theamount of job log data is larger than a third threshold Tc2 of the joblog data.

A method of displaying a warning by the warning display unit 15 includesvarious methods. For example, the warning display unit 15 displays awarning message on the screen of the panel display 140 a of theoperation panel 140. In addition, the warning display unit 15 may blinkin yellow a lamp such as a light emitting diode (LED) provided in theimage forming apparatus 10.

When the warning display unit 15 blinks in yellow a lamp such as a lightemitting diode (LED), the process stop unit 12 may change the behaviorof the lamp such as the LED to blinking in red, and the process restartunit 13 may return the behavior of the lamp such as the LED to blinkingin yellow. The process stop unit 12 or the process restart unit 13 maytransmit an e-mail to the e-mail address of the administrator, display abanner, or display a pop-up in order to notify the stop or restart ofthe process.

The warning display unit 15 is implemented by the CPU 101 executing aprocess defined in a program stored in the ROM 102 a, the RAM 102 b, orthe like and controlling the operation panel 140 or the like.

The storage unit 16 stores various data. Specifically, the storage unit16 stores log data including the image log data 901 and the job log data902. The storage unit 16 also stores threshold information 903.

The storage unit 16 is implemented by the CPU 101 executing a processdefined in a program stored in the ROM 102 a, the RAM 102 b, or the likeand controlling the HD 909 or the like.

FIG. 4 is a diagram illustrating an example of threshold information.

The threshold information 903 is information indicating a threshold foreach type of log data. Each value in the threshold information 903 isset in advance by a user such as an administrator. For example, in thethreshold information 903 of FIG. 4, the first threshold Ta1 of theimage log is set to 1700, and the first threshold Ta2 of the job log isset to 3200. Each threshold illustrated in FIG. 4 is a value indicatingthe number of pieces of log data. In this case, the log generationmonitoring unit 11 acquires the number of pieces of log data, anddetermines whether to stop or restart the process based on the number ofpieces of log data.

Each threshold may be defined by a data size of log data such as thenumber of bytes. In this case, the log generation monitoring unit 11acquires the data size of log data, and determines whether to stop orrestart the process based on the data size of log data. For example, ifthe data size of each log data greatly differs due to the nature ofprocess, it is desirable to perform the process based on the data size.

Next, the operations of the image forming system 1 will be describedwith reference to the drawings.

FIG. 5 is a diagram illustrating an example of a flow of a jobstop/restart process.

The image forming apparatus 10 periodically performs the jobstop/restart process illustrated in FIG. 5, for example, every minute.In addition to the job stop/restart process, the log generationmonitoring unit 11 and the job execution unit 14 execute variousprocesses such as generation of a log and execution of a job.

When starting the job stop/restart process, the image forming apparatus10 determines whether the execution of a job is stopped (step S101). Thestate in which the execution of the job is stopped is a state in whichthe job execution unit 14 does not execute a job, and specifically, astate after the process stop unit 12 stops the execution of a job in theprocess of step S105 to be described later until the process restartunit 13 restarts the execution of a job in the process of step S107 tobe described later.

When the image forming apparatus 10 determines that the execution of ajob is not stopped (step S101: No), the log generation monitoring unit11 determines whether the amount of log data is larger than the thirdthreshold Tc (step S102). Specifically, when the amount of image logdata is larger than the third threshold Tc1 of the image log data or theamount of job log data is larger than the third threshold Tc2 of the joblog data, the log generation monitoring unit 11 determines that theamount of log data is larger than the third threshold Tc.

When determining that the amount of log data is not larger than thethird threshold Tc (step S102: No), the log generation monitoring unit11 ends the job stop/restart process.

When the log generation monitoring unit 11 determines that the amount oflog data is larger than the third threshold Tc (step S102: Yes), thewarning display unit 15 displays a warning (step S103).

Next, the log generation monitoring unit 11 determines whether theamount of log data is larger than the first threshold Ta (step S104).Specifically, when the amount of image log data is larger than the firstthreshold Ta1 of the image log data or the amount of job log data islarger than the first threshold Ta2 of the job log data, the loggeneration monitoring unit 11 determines that the amount of log data islarger than the first threshold Ta.

When determining that the amount of log data is not larger than thefirst threshold Ta (step S104: No), the log generation monitoring unit11 ends the job stop/restart process.

When the log generation monitoring unit 11 determines that the amount oflog data is larger than the first threshold Ta (step S104: Yes), theprocess stop unit 12 stops the execution of a job (step S105) and endsthe job stop/restart process. As a result, the job execution unit 14comes into a state of not newly executing a job.

When the image forming apparatus 10 determines that the execution of ajob is stopped in step S101 (step S101: Yes), the log generationmonitoring unit 11 determines whether the amount of log data is lessthan the second threshold Tb (step S106). Specifically, when the amountof image log data is smaller than the second threshold Tb1 of the imagelog data and the amount of job log data is smaller than the secondthreshold Tb2 of the job log data, the log generation monitoring unit 11determines that the amount of log data is smaller than the secondthreshold Tb.

When determining that the amount of log data is not smaller than thesecond threshold Tb (step S106: No), the log generation monitoring unit11 ends the job stop/restart process. As a result, the job executionunit 14 is maintained in a state of not executing a job.

When the log generation monitoring unit 11 determines that the amount oflog data is smaller than the second threshold Tb (step S106: Yes), theprocess restart unit 13 restarts the execution of a job (step S107) andends the job stop/restart process. As a result, the job execution unit14 returns to the state of executing a job.

FIG. 6 is a diagram for describing an execution result of the jobstop/restart process.

If no countermeasures are taken when log data stagnates due to a factorsuch as a failure in transfer of the log data and the stored log dataincreases unlimitedly, the margin of a storage area in which the logdata is stored would be lost and thus the apparatus might not operatenormally.

In the present embodiment, for example, log data might accumulatewithout being deleted due to a cause such as an abnormality in thetransfer process to the log management server 20, such as a failure in acommunication state of the communication network 30. Hence, when theamount of log data becomes larger than the third threshold Tc, thewarning display unit 15 displays a warning in step S103 of the jobstop/restart process illustrated in FIG. 5. As a result, if the thirdthreshold Tc is appropriately set, the user such as the administratorcan notice the accumulation of the log data at an early stage before thelog data tightens the storage area, so that an early response can bemade.

Next, when the amount of log data becomes larger than the firstthreshold Ta, the process stop unit 12 stops the execution of a job instep S105 of the job stop/restart process illustrated in FIG. 5. As aresult, the image forming apparatus 10 transitions from the jobexecution state to the job stop state. If the first threshold Ta isappropriately set, the image forming apparatus 10 enters a stateexecuting no job so that log data is no longer generated. Therefore, itis possible to prevent an increase in the log data before the log datatightens the storage area.

The process stop unit 12 stops the execution of a process when theamount of any of the plurality of types of log data is larger than thefirst threshold Ta set for the corresponding type. As a result, when theamount of log data of one type among the plurality of types of log datais larger than the first threshold Ta, the execution of the process isstopped, so that an increase in the log data can be more reliablyprevented.

Next, when the transfer and deletion of the log data are normalized dueto improvement in the communication state of the network or the like,the amount of log data decreases. Then, when the amount of log databecomes smaller than the second threshold Tb, the process restart unit13 restarts the execution of a job in step S107 of the job stop/restartprocess illustrated in FIG. 5. As a result, the image forming apparatus10 transitions again from the job stop state to the job execution state.If the second threshold Tb is appropriately set, the execution of a jobcan be restarted after the amount of log data decreases to a state inwhich it is unlikely that the log data increases again and becomeslarger than the first threshold Ta. Therefore, stable job execution canbe performed.

In addition, the process restart unit 13 restarts the execution of aprocess in a case where the amounts of the plurality of types of logdata are all smaller than the second thresholds Tb set for thecorresponding types. As a result, since the execution of a process isrestarted only when the amounts of all types of log data among theplurality of types of log data are smaller than the second thresholdsTb, it is possible to more reliably prevent an increase in the log data.

In FIG. 4, the first threshold Ta takes the same value as the totalvalue of the second threshold Tb and the third threshold Tc. Asdescribed above, the difference between the first threshold Ta relatedto the stop of a process (job) and the second threshold Tb related tothe restart of a process (job) is desirably substantially the same valueas the third threshold Tc related to the display of a warning.

Since the warning display unit 15 is designed to display a warning whenthe amount of log data becomes larger than the third threshold Tc, thethird threshold Tc is set to a value at which various types of log dataare considered not to reach the value in a normal operation state.Therefore, by setting the difference between the first threshold Ta andthe second threshold Tb to be substantially the same as the thirdthreshold Tc, the second threshold Tb can be set to a value that isconsidered not to exceed the first threshold Ta again in normaloperation even in the determination of whether to restart the executionof a job.

The threshold information 903 illustrated in FIG. 4 may be generated bya learning effect of machine learning. In addition, no correspondencetable may be used by predicting the increase rate of the log data bymachine learning. Herein, the machine learning refers to a technologyfor causing a computer to acquire a learning ability like a person, andrefers to a technology in which a computer autonomously generates analgorithm necessary for determination such as data identification fromlearning data taken in advance, and applies the algorithm to new data toperform prediction. A learning method for machine learning may be anyone of supervised learning, unsupervised learning, semi-supervisedlearning, reinforcement learning, and deep learning, and may be alearning method combining these learning methods, and a learning methodfor machine learning is not limited.

In an embodiment, the image forming apparatus 10 includes a plurality ofcomputing devices, such as a server cluster. The plurality of computingdevices is configured to communicate with each other over any type ofcommunication link, including a network, shared memory, or the like, andmay perform the processes disclosed herein.

Each function of the embodiments described above can be realized by oneor more processing circuits. Here, the “processing circuit or circuitry”in the present specification includes a programmed processor to executeeach function by software, such as a processor implemented by anelectronic circuit, and devices, such as an application specificintegrated circuit (ASIC), a digital signal processor (DSP), a fieldprogrammable gate array (FPGA), and conventional circuit componentsarranged to perform the recited each function.

Furthermore, the image forming apparatus 10 according to theabove-described embodiments only needs to have an information processingfunction, and for example, may include a projector (PJ), an outputdevice such as a digital signage, a remote conference device, a head updisplay (HUD) device, an industrial machine, a medical device, a networkhome appliance, an automobile (connected car), a notebook personalcomputer (PC), a mobile phone, a tablet terminal, a game machine, apersonal digital assistant (PDA), a digital camera, an omnidirectionalpanoramic image capturing device, a wearable PC, a desktop PC, or thelike.

The above-described embodiments are illustrative and do not limit thepresent invention. Thus, numerous additional modifications andvariations are possible in light of the above teachings. For example,elements and/or features of different illustrative embodiments may becombined with each other and/or substituted for each other within thescope of the present invention.

Any one of the above-described operations may be performed in variousother ways, for example, in an order different from the one describedabove.

1. An information processing apparatus comprising: a memory configuredto store log data generated by an execution of a process; and processingcircuity configured to: stop the execution of the process in a statewhere the process is being executed and when an amount of the log datain the memory is larger than a first threshold; and restart theexecution of the process in a state where the execution of the processis stopped and when the amount of the log data in the memory is smallerthan a second threshold that is smaller than the first threshold.
 2. Theinformation processing apparatus according to claim 1, wherein the logdata in the memory includes a plurality of types of log data, whereinthe processing circuity is configured to stop the execution of theprocess in the state where the process is being executed and when anamount of any one of the plurality of types of log data in the memory islarger than the first threshold set for the any one of the plurality oftypes of log data, and wherein the processing circuity is configured torestart the execution of the process in the state where the execution ofthe process is stopped and when the amount of each one of the pluralityof types of log data in the memory is smaller than the second thresholdset for each one of the plurality of types of log data.
 3. Theinformation processing apparatus according to claim 2, wherein theprocessing circuity is configured to execute a process of forming animage for each job, wherein the plurality of types of log data includesimage log data indicating an image and job log data indicating a jobexecution history, wherein the first threshold is different between theimage log data and the job log data, and wherein the second threshold isdifferent between the image log data and the job log data.
 4. Theinformation processing apparatus according to claim 1, furthercomprising a display configured to display a warning when the amount ofthe log data is larger than a third threshold, wherein the firstthreshold is a value substantially equal to a total value of the secondthreshold and the third threshold.
 5. The information processingapparatus according to claim 4, wherein the log data in the memoryincludes a plurality of types of log data, and wherein the display isconfigured to display a warning when an amount of any one of theplurality of types of log data in the memory is larger than the thirdthreshold set for the any one of the plurality of types of log data. 6.An information processing method to be executed by an informationprocessing apparatus configured to store log data generated by anexecution of a process, the method comprising: stopping the execution ofthe process in a state where the process is being executed and when anamount of the log data stored in the information processing apparatus islarger than a first threshold; and restarting the execution of theprocess in a state where the execution of the process is stopped andwhen the amount of the log data stored in the information processingapparatus is smaller than a second threshold that is smaller than thefirst threshold.
 7. A non-transitory recording medium storingcomputer-readable program code that, when executed by a computer, causesthe computer storing log data generated by an execution of a process toexecute: stopping the execution of the process in a state where theprocess is being executed and when an amount of the log data stored inthe computer is larger than a first threshold; and restarting theexecution of the process in a state where the execution of the processis stopped and when the amount of the log data stored in the computer issmaller than a second threshold that is smaller than the firstthreshold.